const jwt = require("jsonwebtoken");
const payload = {
  shopId: "1004",
  user_id: "wzx",
  transactionAmount: 60.0,
};
const secretkey = "pairuan";
const options = {
  expiresIn: "1h",
};
const token = jwt.sign(payload, secretkey, options);
console.log(token);
export { token };
